Skip to content

Implement CommandLine.executablePath on all Apple platforms. #934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jan 28, 2025

This change just makes sure CommandLine.executablePath is implemented consistently across Apple platforms and doesn't hit the unimplemented/warning path on e.g. iOS. (We're not using this property there, but the source file it lives in gets compiled regardless.)

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This change just makes sure `CommandLine.executablePath` is implemented
consistently across Apple platforms and doesn't hit the unimplemented/warning
path on e.g. iOS. (We're not using this property there, but the source file it
lives in gets compiled regardless.)
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support labels Jan 28, 2025
@grynspan grynspan added this to the Swift 6.x milestone Jan 28, 2025
@grynspan grynspan self-assigned this Jan 28, 2025
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 00bb5ac into main Jan 28, 2025
3 checks passed
@grynspan grynspan deleted the jgrynspan/executable-path-apple-platforms branch January 28, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants